//
//  XHFirstHelpViewController.m
//  umibus
//
//  Created by fengyn on 16/6/18.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import "XHFirstHelpViewController.h"

@interface XHFirstHelpViewController ()
@property (weak, nonatomic) IBOutlet UIView *ui_borderView;
@property (weak, nonatomic) IBOutlet UILabel *ui_title;
@property (weak, nonatomic) IBOutlet UILabel *ui_content;

@end

@implementation XHFirstHelpViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.ui_borderView.layer.masksToBounds=YES;
    self.ui_borderView.layer.cornerRadius=13;
    if([self.type isEqualToString:@"首页"])
    {
        self.ui_title.text = @"什么是流量屯包?";
        self.ui_content.text = @"指的是您可以在流量产品促销时间段，用打包价格购买的固定个数的流量产品组合包，屯起来的组合包不激活使用永不过期，用一个充一个，使用灵活快捷。";
    }
    else if ([self.type isEqualToString:@"发现"])
    {
        self.ui_title.text = @"什么是理财流量?";
        self.ui_content.text = @"您可以随意组合流量包，根据需要随时激活使用，未激活流量可赚取收益，提取收益只需要点击优米回购。操作简易、使用灵活，低门槛理财好选择。";
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (IBAction)closeButtonAction:(id)sender {
    [self dismissViewControllerAnimated:NO completion:^{
    }];
}
@end
